package com.znn.dagger2demo.module;

import android.content.Context;

import dagger.Module;
import dagger.Provides;

/**
 * @author RANDY.ZHANG
 * @version 1.0
 * @company:
 * @date 16/8/9 12:13
 */
@Module
public class MainActivityModule {
    private Context context;
    public MainActivityModule(Context context){
        this.context = context;
    }

    @Provides
    Context provideContext(){
        return context;
    }
}
